package com.twu.biblioteca;

public class LibraryItem {
    private Status status;
    protected String name;
    private UserAccount itemHolder;

    public LibraryItem(String name) {
        this.name = name;
        this.status = Status.AVAILABLE;
    }

    public Status getStatus() { return status; }
    public String getName() { return name; }
    public UserAccount getItemHolder() { return itemHolder; }

    public void setStatus(Status status) { this.status = status; }
    public void setName(String name) { this.name = name; }
    public void setItemHolder(UserAccount userAccount) { this.itemHolder = userAccount; }

    public LibraryItemType getType() {
        return LibraryItemType.All;
    }
}
